package com.yimi.policyservice.common.expetion;

public class ApiException extends  RuntimeException {
    private static final long serialVersionUID = -1L;
    private  int  stats;
    private String msg ;

    public ApiException(int stats, String msg) {
        this.stats = stats;
        this.msg = msg;
    }

    public int getStats() {
        return stats;
    }

    public void setStats(int stats) {
        this.stats = stats;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
